package com.cdplife.ci.modular.system.service;

import com.cdplife.ci.core.common.ftp.UploadResult;
import com.cdplife.ci.modular.system.model.Accessory;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 附件路径表 服务类
 * </p>
 *
 * @author jers
 * @since 2018-11-07
 */
public interface IAccessoryService extends IService<Accessory> {

    /**
     * 增加附件
     */
    Object saveAccessory(UploadResult uploadResult,String accessoryTable,Integer refId,Integer accessoryType);
    /**
     * 删除附件
     */
    Object deleteAccessory(Integer accessoryId);
    /**
     * 获取附件信息
     */
    List<Accessory> getAccessoryList(String accessoryTable,Integer refId,Integer accessoryType);
}
